package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目管理对象 projects
 * 
 * @author ruoyi
 * @date 2024-02-05
 */
public class Projects extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String projectDescription;

    /** 项目快照 */
    @Excel(name = "项目快照")
    private String projectScreenshot;

    /** 项目文件保存地址 */
    @Excel(name = "项目文件保存地址")
    private String projectFileLocation;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectDescription(String projectDescription) 
    {
        this.projectDescription = projectDescription;
    }

    public String getProjectDescription() 
    {
        return projectDescription;
    }
    public void setProjectScreenshot(String projectScreenshot) 
    {
        this.projectScreenshot = projectScreenshot;
    }

    public String getProjectScreenshot() 
    {
        return projectScreenshot;
    }
    public void setProjectFileLocation(String projectFileLocation) 
    {
        this.projectFileLocation = projectFileLocation;
    }

    public String getProjectFileLocation() 
    {
        return projectFileLocation;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("projectDescription", getProjectDescription())
            .append("projectScreenshot", getProjectScreenshot())
            .append("projectFileLocation", getProjectFileLocation())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
